package com.lzs.adx.web.modules.adx.service;

import com.lzs.adx.commmon.page.PageData;
import com.lzs.adx.commmon.service.CrudService;
import com.lzs.adx.web.modules.adx.dto.AccountReportDayDTO;
import com.lzs.adx.web.modules.adx.dto.AccountReportMonthDTO;
import com.lzs.adx.web.modules.adx.dto.ReportExcelDTO;
import com.lzs.adx.web.modules.adx.dto.ReportTotalDTO;
import com.lzs.adx.web.modules.adx.entity.AccountReportDayEntity;

import java.util.List;
import java.util.Map;

/**
 * 账户日结算表
 *
 * @author wangzhijun 825400558@qq.com
 * @since 1.0.0 2024-09-02
 */
public interface AccountReportDayService extends CrudService<AccountReportDayEntity, AccountReportDayDTO> {

    public PageData<AccountReportDayDTO> findPage(Map<String, Object> params);

    public void generateData(ReportExcelDTO reportExcelDTO);

    public AccountReportDayDTO getDetail(String dspId, String day);

    List<AccountReportMonthDTO> selectMonthReportData();
    List<AccountReportMonthDTO> selectMonthLoanData();

    /**
     * 按天汇总
     * @param params
     * @return
     */
    PageData<AccountReportDayDTO> findDayTotalPage(Map<String, Object> params);
}